package com.dy.design_pattern_study.command_pattern.dome3;

import com.dy.design_pattern_study.command_pattern.dome2.Barbecuer;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-19
 * @Content 抽象命令
 */
public abstract class Command {

    protected Receiver receiver;

    public Command(Receiver receiver) {
        this.receiver = receiver;
    }

    abstract public void excuteCommand();
}
